package com.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ResultVo {
    private Integer code;
    private String message;
    private Object data;

    public static ResultVo success(){
        return new ResultVo(200, "发送消息成功！", null);
    }
}
